class Sample(object):
    """
    样本类，两个属性，image表示图片，为一个3darray,flaw_id为其瑕疵类型，具体含义参考flaw.py
    """

    def __init__(self, image=None, flaw_id=None):
        self.image = image
        self.flaw_id = flaw_id

    def set_image(self, image):
        self.image = image

    def set_flaw_id(self, flaw_id):
        self.flaw_id = flaw_id
